package c.e.a.a.f.p.h;

import c.e.a.a.f.h;
import c.e.a.a.f.n.g;
import c.e.a.a.f.q.b.a;

/* compiled from: Uploader */
public final /* synthetic */ class i implements a {
    public final l a;
    public final g b;
    public final Iterable c;
    public final h d;
    public final int e;

    public i(l lVar, g gVar, Iterable iterable, h hVar, int i) {
        this.a = lVar;
        this.b = gVar;
        this.c = iterable;
        this.d = hVar;
        this.e = i;
    }

    public Object execute() {
        l lVar = this.a;
        g gVar = this.b;
        Iterable iterable = this.c;
        h hVar = this.d;
        int i = this.e;
        if (gVar.c() == g.a.TRANSIENT_ERROR) {
            lVar.c.e0(iterable);
            lVar.d.a(hVar, i + 1);
        } else {
            lVar.c.F(iterable);
            if (gVar.c() == g.a.OK) {
                lVar.c.O(hVar, gVar.b() + lVar.g.a());
            }
            if (lVar.c.d0(hVar)) {
                lVar.d.a(hVar, 1);
            }
        }
        return null;
    }
}
